package com.nineclock.api.system;

import com.nineclock.common.entity.Result;
import com.nineclock.system.dto.SysRegisterDTO;
import com.nineclock.system.dto.SysUserDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @author zhangyan
 * @date 2021/3/31 23:48
 */
@Api(value = "管理用户信息接口",tags = "系统服务")
public interface SysUserControllerApi {

    @ApiOperation(value = "根据用户名或手机号查询用户")
    public Result<SysUserDTO> query(String username);

    @ApiOperation(value = "APP注册用户")
    public Result<Long> register(SysRegisterDTO registerDTO);
}
